package com.crud.project.dao;

import com.crud.project.po.Permission;
import com.crud.project.po.Role;
import com.crud.project.po.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IRoleDao {
    List<Role> findAll();

    void insertRole(Role role);

    void deleteById(Long id);

    Role findRoleById(Long id);

    void updateRole(Role role);

    List<String> findPermissionId(Long id);
}
